package com.xq.domain;

public class Product {

    private Integer pid;
    private String pname;
    private String model;
    private double danjia;
    private Integer shuliang;
    private double jine;
    private String beozhu;
    private Integer oid;

    private String bianhao;

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public Product() {
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", model='" + model + '\'' +
                ", danjia=" + danjia +
                ", shuliang=" + shuliang +
                ", jine=" + jine +
                ", beozhu='" + beozhu + '\'' +
                ", oid=" + oid +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public double getDanjia() {
        return danjia;
    }

    public void setDanjia(double danjia) {
        this.danjia = danjia;
    }

    public Integer getShuliang() {
        return shuliang;
    }

    public void setShuliang(Integer shuliang) {
        this.shuliang = shuliang;
    }

    public double getJine() {
        return jine;
    }

    public void setJine(double jine) {
        this.jine = jine;
    }

    public String getBeozhu() {
        return beozhu;
    }

    public void setBeozhu(String beozhu) {
        this.beozhu = beozhu;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Product(Integer pid, String pname, String model, double danjia, Integer shuliang, double jine, String beozhu, Integer oid) {
        this.pid = pid;
        this.pname = pname;
        this.model = model;
        this.danjia = danjia;
        this.shuliang = shuliang;
        this.jine = jine;
        this.beozhu = beozhu;
        this.oid = oid;
    }
}
